package uz.edo.app.client.core;

import java.util.Locale;
import org.apache.wicket.markup.html.link.Link;
import uz.edo.utils.Constants;

public interface MyConstants extends Constants {
 	public static final Locale LOCALE_RU = new Locale("ru");
	public static final Locale LOCALE_UZ = new Locale("uz");

	@SuppressWarnings("unchecked")
	public Link uzlink=new Link("uz"){
		private static final long serialVersionUID = -6436252070588344630L;
		public void onClick(){getSession().setLocale(LOCALE_UZ);}
	};
	@SuppressWarnings("unchecked")
	public Link rulink=new Link("ru"){
		private static final long serialVersionUID = -2931470108830449360L;
		public void onClick(){getSession().setLocale(LOCALE_RU); }
	};

}

